package com.xyazm.common.constants;

/**
 * RocketMQ 常量类
 * @author xuyou
 * 2022/5/15 0015 18:18
*/
public class RocketMqConstant {

    /**
     * 默认的producer分组
     */
    public static String ORDER_DEFAULT_PRODUCER_GROUP = "order_default_producer_group";

    /**
     * 订单正向标准变更消息
     */
    public final static String ORDER_STATE_CHANGE_EVENT_TOPIC = "order_status_change_event_topic";
    public final static String ORDER_STATUS_CHANGE_EVENT_CONSUMER_GROUP = "order_status_change_event_consumer_group";


    /**
     * 正向订单物流配送结果
     */
    public final static String ORDER_WMS_SHIP_RESULT_TOPIC = "wms_ship_result_topic";
    public final static String ORDER_WMS_SHIP_RESULT_CONSUMER_GROUP = "wms_ship_result_consumer_group";

    /**
     * 订单支付超时自动关单
    */
    public final static String ORDER_PAY_TIMEOUT_DELAY_TOPIC = "order_pay_timeout_delay_topic";
    public final static String ORDER_PAY_TIMEOUT_CONSUMER_GROUP = "order_pay_timeout_delay_consumer_group";


    /**
     * 取消订单发送释放权益
     */
    public final static String RELEASE_ASSETS_TOPIC = "release_assets_topic";
    // 监听退款请求
    public final static String CANCEL_REFUND_CONSUMER_GROUP = "cancel_refund_consumer_group";


    /**
     * 实际退款
     */
    public final static String ACTUAL_REFUND_TOPIC = "actual_refund_topic";
    public final static String ACTUAL_REFUND_CONSUMER_GROUP = "actual_refund_consumer_group";

    /**
     * 客服审核售后通过,释放优惠券
     */
    public static String AFTER_SALE_RELEASE_COUPON_TOPIC = "after_sale_release_coupon_topic";
    public static String AFTER_SALE_RELEASE_COUPON_CONSUMER_GROUP = "after_sale_release_coupon_consumer_group";


    /**
     * 售售后申请发送给客服审核
     */
    public static String AFTER_SALE_CUSTOMER_AUDIT_TOPIC = "after_sale_customer_audit_topic";
    public static String AFTER_SALE_CUSTOMER_AUDIT_CONSUMER_GROUP = "after_sale_customer_audit_consumer_group";



}
